from core.celery import app
from scraper_bitrix.scraper import main as scraper_main


@app.task
def run_scraper(reboot_time: int, stop_words: str) -> None:
    """ Запускаем парсер """

    scraper_main.main(reboot_time, stop_words)
